package nc.ui.acm.bd.tradecorp;

import nc.itf.acm.pub.ACMBillType;
import nc.itf.acm.pub.IPrivateButton;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.treemanage.AbstractTreeManageController;
import nc.vo.acm.bd.liqaccount.LiqaccountVO;
import nc.vo.acm.bd.tradecorp.TradecorpVO;
import nc.vo.trade.pub.HYBillVO;

public class TradeCorpCtrl extends AbstractTreeManageController {

	public TradeCorpCtrl() {
		super();
	}

	public boolean isAutoManageTree() {
		return false;
	}

	public boolean isTableTree() {
		return false;
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {
		return new int[] { 
				IBillButton.Add, 
				IBillButton.Edit, 
				IBillButton.Line, 
				IBillButton.Save, 
				IBillButton.Cancel, 
				IBillButton.Delete, 
				IPrivateButton.EXCEL_IMP,
				IBillButton.Return };
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return false;
	}

	public String getBillType() {
		return ACMBillType.TRADECORP;
	}

	public String[] getBillVoName() {
		return new String[] { HYBillVO.class.getName(), TradecorpVO.class.getName(), LiqaccountVO.class.getName() };
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return LiqaccountVO.PK_LIQACCOUNT;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return TradecorpVO.PK_TRADECORP;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public int[] getListButtonAry() {
		return new int[] { 
				IBillButton.Add, 
				IBillButton.Edit, 
				IBillButton.Line, 
				IBillButton.Save, 
				IBillButton.Cancel, 
				IBillButton.Delete, 
				IPrivateButton.EXCEL_IMP,
				IBillButton.Card };
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return false;
	}

}
